<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<s:layout-render name="/layout_template.jsp" nadpis="serviceCheck.editHeading"> 
    <s:layout-component name="hlavicka">
        <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
        <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
        <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
        <script>
            $(function() {
                $( "#datepicker" ).datepicker({ dateFormat: "<f:message key="dateFormat"/>" });
            });
            function show(id){
                document.getElementById(id).style.display = 'block';
            }
        </script>
    </s:layout-component>
    <s:layout-component name="telo">
       <s:useActionBean beanclass="cz.muni.fi.pa165.carparkweb.actionbeans.ServiceCheckActionBean" var="actionBean"/> 
       <s:form beanclass="cz.muni.fi.pa165.carparkweb.actionbeans.ServiceCheckActionBean">  
               <s:hidden name="servicecheck.id" />
               <div id="form">
               <s:errors/>
               <div class="row"><s:label class="col1"  name="serviceCheck.dateForm" for="s1" />
                    <span class="col2"><s:text id="datepicker" class="input" name="servicecheck.dateOfCheck" size="20" tabindex="1"/></span>
               </div>
          
                <div class="submit">
                    <s:submit name="cancelCheckFinal"><f:message key="serviceCheck.cancelCheck"/></s:submit>
                    <s:submit name="storno"><f:message key="cancel"/></s:submit>
                </div>     
           </div>
        </s:form> 
    </s:layout-component>
</s:layout-render>